package fxc.example;

import org.apache.commons.math3.distribution.PoissonDistribution;

public class PoissonDistributionVariable extends Variable{
    Double mean;

    public PoissonDistributionVariable(double mean){
        this.mean = mean;
        poissonDistribution = new PoissonDistribution(mean);
    }

    PoissonDistribution poissonDistribution;
    @Override
    Object getDistribution() {
        return poissonDistribution;
    }

    @Override
    String getDistributionType() {
        return "poissonDistribution";
    }
}
